<%@ page language="java" import="java.util.*" pageEncoding="GB18030"
import="Application.Dao.OrderDAO"
%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
	int reservationID = Integer.parseInt(request.getParameter("rid"));
	String orderlist = request.getParameter("orderlist");
	String optionlist = request.getParameter("orderopt");
	boolean valid = OrderDAO.createOrderWithOption(reservationID, orderlist,optionlist);
	out.print(valid);
 %>

